<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>学生信息管理系统</title>

    <script type="text/javascript" src="js/jquery-3.5.1.js"></script>
</head>

<script type="text/javascript">
    function sendRequest(){
        $.ajax({
            url:"/Code/exitServlet",
            async:true,
            data:"",
            type:"GET",
            dataType:"text",
            success:function(data){
                location.href="index.html";
            }
        });
    }

</script>

<body>
<table border="1px" width="20%" height="350px" cellspacing="0px" align="center" >
    <tr>
        <th colspan="2">学生信息管理系统</th>
    </tr>
    <tr align="center">
        <td>
            <input type="button" value="增加学生信息" onclick="window.location.href='add.html'">
        </td>
        <td>
            <input type="button" value="显示学生信息" onclick="window.location.href='print.html'">
        </td>
    </tr>
    <tr align="center">
        <td>
            <input type="button" value="删除学生信息" onclick="window.location.href='delete.html'">
        </td>
        <td>
            <input type="button" value="退出学生系统" onclick="sendRequest()">
        </td>
    </tr>

</table>
</body>



</html>